package com.spzx.common.rabbitmq.domain;

import lombok.Data;
import org.springframework.amqp.rabbit.connection.CorrelationData;
@Data
public class SpzxCorrelationData extends CorrelationData {
    private String exchange;
    private String routingKey;
    private Object message;
    //重试次数
    private int retryCount = 0;
    private int retryLimit = 3;
    //是否需要重试
    private boolean isRetry = false;

}
